#ifndef CLAVNUM_H
#define CLAVNUM_H

#include <QWidget>
#include <QKeyEvent>

namespace Ui {
class ClavNum;
}

class ClavNum : public QWidget
{
    Q_OBJECT
    
public:
    explicit ClavNum(bool admin = false, QWidget *parent = 0);
    ~ClavNum();


public slots:

private:
    Ui::ClavNum *ui;
    QWidget *parent;

private slots:
    void on_Digit_0_pressed();
    void on_Digit_1_pressed();
    void on_Digit_2_pressed();
    void on_Digit_3_pressed();
    void on_Digit_4_pressed();
    void on_Digit_5_pressed();
    void on_Digit_6_pressed();
    void on_Digit_7_pressed();
    void on_Digit_8_pressed();
    void on_Digit_9_pressed();
    void on_Dot_pressed();
    void on_Retour_pressed();


    void on_Ponct_clicked(bool checked);
    void on_Interog_clicked();
    void on_Exclam_clicked();
};

#endif // CLAVNUM_H
